Class SequenceEntity (2.21.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
TypeDescription
int

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

CYCLE_FIELD_NUMBER

public static final int CYCLE_FIELD_NUMBER
Field Value
TypeDescription
int

INCREMENT_FIELD_NUMBER

public static final int INCREMENT_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_VALUE_FIELD_NUMBER

public static final int MAX_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

START_VALUE_FIELD_NUMBER

public static final int START_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SequenceEntity getDefaultInstance()
Returns
TypeDescription
SequenceEntity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SequenceEntity.Builder newBuilder()
Returns
TypeDescription
SequenceEntity.Builder

newBuilder(SequenceEntity prototype)

public static SequenceEntity.Builder newBuilder(SequenceEntity prototype)
Parameter
NameDescription
prototypeSequenceEntity
Returns
TypeDescription
SequenceEntity.Builder

parseDelimitedFrom(InputStream input)

public static SequenceEntity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SequenceEntity parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SequenceEntity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SequenceEntity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SequenceEntity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SequenceEntity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SequenceEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SequenceEntity> parser()
Returns
TypeDescription
Parser<SequenceEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCache()

public long getCache()

Indicates number of entries to cache / precreate.

int64 cache = 6;

Returns
TypeDescription
long

The cache.

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
TypeDescription
StructOrBuilder

getCycle()

public boolean getCycle()

Indicates whether the sequence value should cycle through.

bool cycle = 5;

Returns
TypeDescription
boolean

The cycle.

getDefaultInstanceForType()

public SequenceEntity getDefaultInstanceForType()
Returns
TypeDescription
SequenceEntity

getIncrement()

public long getIncrement()

Increment value for the sequence.

int64 increment = 1;

Returns
TypeDescription
long

The increment.

getMaxValue()

public ByteString getMaxValue()

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

bytes max_value = 3;

Returns
TypeDescription
ByteString

The maxValue.

getMinValue()

public ByteString getMinValue()

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

bytes min_value = 4;

Returns
TypeDescription
ByteString

The minValue.

getParserForType()

public Parser<SequenceEntity> getParserForType()
Returns
TypeDescription
Parser<SequenceEntity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartValue()

public ByteString getStartValue()

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

bytes start_value = 2;

Returns
TypeDescription
ByteString

The startValue.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SequenceEntity.Builder newBuilderForType()
Returns
TypeDescription
SequenceEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SequenceEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SequenceEntity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SequenceEntity.Builder toBuilder()
Returns
TypeDescription
SequenceEntity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException