Google Cloud Dms V1 Client - Class SequenceEntity (2.0.1)

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
Name Description
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
Type Description
int|string

setIncrement

Increment value for the sequence.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getStartValue

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

numbers

Returns
Type Description
string

setStartValue

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

numbers

Parameter
Name Description
var string
Returns
Type Description
$this

getMaxValue

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

numbers

Returns
Type Description
string

setMaxValue

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

numbers

Parameter
Name Description
var string
Returns
Type Description
$this

getMinValue

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

numbers

Returns
Type Description
string

setMinValue

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

numbers

Parameter
Name Description
var string
Returns
Type Description
$this

getCycle

Indicates whether the sequence value should cycle through.

Returns
Type Description
bool

setCycle

Indicates whether the sequence value should cycle through.

Parameter
Name Description
var bool
Returns
Type Description
$this

getCache

Indicates number of entries to cache / precreate.

Returns
Type Description
int|string

setCache

Indicates number of entries to cache / precreate.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getCustomFeatures

Custom engine specific features.

Returns
Type Description
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Custom engine specific features.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this