Class SequenceEntity (2.46.0)

public final class SequenceEntity extends GeneratedMessageV3 implements SequenceEntityOrBuilder

Sequence's parent is a schema.

Protobuf type google.cloud.clouddms.v1.SequenceEntity

Static Fields

CACHE_FIELD_NUMBER

public static final int CACHE_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

CYCLE_FIELD_NUMBER

public static final int CYCLE_FIELD_NUMBER
Field Value
Type Description
int

INCREMENT_FIELD_NUMBER

public static final int INCREMENT_FIELD_NUMBER
Field Value
Type Description
int

MAX_VALUE_FIELD_NUMBER

public static final int MAX_VALUE_FIELD_NUMBER
Field Value
Type Description
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
Type Description
int

START_VALUE_FIELD_NUMBER

public static final int START_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SequenceEntity getDefaultInstance()
Returns
Type Description
SequenceEntity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SequenceEntity.Builder newBuilder()
Returns
Type Description
SequenceEntity.Builder

newBuilder(SequenceEntity prototype)

public static SequenceEntity.Builder newBuilder(SequenceEntity prototype)
Parameter
Name Description
prototype SequenceEntity
Returns
Type Description
SequenceEntity.Builder

parseDelimitedFrom(InputStream input)

public static SequenceEntity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SequenceEntity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SequenceEntity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SequenceEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SequenceEntity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SequenceEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SequenceEntity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SequenceEntity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SequenceEntity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SequenceEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SequenceEntity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SequenceEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SequenceEntity> parser()
Returns
Type Description
Parser<SequenceEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCache()

public long getCache()

Indicates number of entries to cache / precreate.

int64 cache = 6;

Returns
Type Description
long

The cache.

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
Type Description
StructOrBuilder

getCycle()

public boolean getCycle()

Indicates whether the sequence value should cycle through.

bool cycle = 5;

Returns
Type Description
boolean

The cycle.

getDefaultInstanceForType()

public SequenceEntity getDefaultInstanceForType()
Returns
Type Description
SequenceEntity

getIncrement()

public long getIncrement()

Increment value for the sequence.

int64 increment = 1;

Returns
Type Description
long

The increment.

getMaxValue()

public ByteString getMaxValue()

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

bytes max_value = 3;

Returns
Type Description
ByteString

The maxValue.

getMinValue()

public ByteString getMinValue()

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

bytes min_value = 4;

Returns
Type Description
ByteString

The minValue.

getParserForType()

public Parser<SequenceEntity> getParserForType()
Returns
Type Description
Parser<SequenceEntity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartValue()

public ByteString getStartValue()

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

bytes start_value = 2;

Returns
Type Description
ByteString

The startValue.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
Type Description
boolean

Whether the customFeatures field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SequenceEntity.Builder newBuilderForType()
Returns
Type Description
SequenceEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SequenceEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SequenceEntity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SequenceEntity.Builder toBuilder()
Returns
Type Description
SequenceEntity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException