Google Cloud Dms V1 Client - Class SequenceEntity (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client class SequenceEntity.

Sequence's parent is a schema.

Generated from protobuf message google.cloud.clouddms.v1.SequenceEntity

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ increment int|string

Increment value for the sequence.

↳ start_value string

Start number for the sequence represented as bytes to accommodate large. numbers

↳ max_value string

Maximum number for the sequence represented as bytes to accommodate large. numbers

↳ min_value string

Minimum number for the sequence represented as bytes to accommodate large. numbers

↳ cycle bool

Indicates whether the sequence value should cycle through.

↳ cache int|string

Indicates number of entries to cache / precreate.

↳ custom_features Google\Protobuf\Struct

Custom engine specific features.

getIncrement

Increment value for the sequence.

Returns
TypeDescription
int|string

setIncrement

Increment value for the sequence.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStartValue

Start number for the sequence represented as bytes to accommodate large.

numbers

Returns
TypeDescription
string

setStartValue

Start number for the sequence represented as bytes to accommodate large.

numbers

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMaxValue

Maximum number for the sequence represented as bytes to accommodate large.

numbers

Returns
TypeDescription
string

setMaxValue

Maximum number for the sequence represented as bytes to accommodate large.

numbers

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMinValue

Minimum number for the sequence represented as bytes to accommodate large.

numbers

Returns
TypeDescription
string

setMinValue

Minimum number for the sequence represented as bytes to accommodate large.

numbers

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCycle

Indicates whether the sequence value should cycle through.

Returns
TypeDescription
bool

setCycle

Indicates whether the sequence value should cycle through.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getCache

Indicates number of entries to cache / precreate.

Returns
TypeDescription
int|string

setCache

Indicates number of entries to cache / precreate.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getCustomFeatures

Custom engine specific features.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Custom engine specific features.

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this