Class SequenceEntity.Builder (2.42.0)

public static final class SequenceEntity.Builder extends GeneratedMessageV3.Builder<SequenceEntity.Builder> implements SequenceEntityOrBuilder

Sequence's parent is a schema.

Protobuf type google.cloud.clouddms.v1.SequenceEntity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SequenceEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SequenceEntity.Builder
Overrides

build()

public SequenceEntity build()
Returns
Type Description
SequenceEntity

buildPartial()

public SequenceEntity buildPartial()
Returns
Type Description
SequenceEntity

clear()

public SequenceEntity.Builder clear()
Returns
Type Description
SequenceEntity.Builder
Overrides

clearCache()

public SequenceEntity.Builder clearCache()

Indicates number of entries to cache / precreate.

int64 cache = 6;

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

clearCustomFeatures()

public SequenceEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
Type Description
SequenceEntity.Builder

clearCycle()

public SequenceEntity.Builder clearCycle()

Indicates whether the sequence value should cycle through.

bool cycle = 5;

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SequenceEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SequenceEntity.Builder
Overrides

clearIncrement()

public SequenceEntity.Builder clearIncrement()

Increment value for the sequence.

int64 increment = 1;

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

clearMaxValue()

public SequenceEntity.Builder clearMaxValue()

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

bytes max_value = 3;

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

clearMinValue()

public SequenceEntity.Builder clearMinValue()

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

bytes min_value = 4;

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SequenceEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SequenceEntity.Builder
Overrides

clearStartValue()

public SequenceEntity.Builder clearStartValue()

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

bytes start_value = 2;

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

clone()

public SequenceEntity.Builder clone()
Returns
Type Description
SequenceEntity.Builder
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.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomFeatures(Struct value)

public SequenceEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Parameter
Name Description
value Struct
Returns
Type Description
SequenceEntity.Builder

mergeFrom(SequenceEntity other)

public SequenceEntity.Builder mergeFrom(SequenceEntity other)
Parameter
Name Description
other SequenceEntity
Returns
Type Description
SequenceEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SequenceEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SequenceEntity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SequenceEntity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SequenceEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SequenceEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SequenceEntity.Builder
Overrides

setCache(long value)

public SequenceEntity.Builder setCache(long value)

Indicates number of entries to cache / precreate.

int64 cache = 6;

Parameter
Name Description
value long

The cache to set.

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

setCustomFeatures(Struct value)

public SequenceEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Parameter
Name Description
value Struct
Returns
Type Description
SequenceEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public SequenceEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SequenceEntity.Builder

setCycle(boolean value)

public SequenceEntity.Builder setCycle(boolean value)

Indicates whether the sequence value should cycle through.

bool cycle = 5;

Parameter
Name Description
value boolean

The cycle to set.

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SequenceEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SequenceEntity.Builder
Overrides

setIncrement(long value)

public SequenceEntity.Builder setIncrement(long value)

Increment value for the sequence.

int64 increment = 1;

Parameter
Name Description
value long

The increment to set.

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

setMaxValue(ByteString value)

public SequenceEntity.Builder setMaxValue(ByteString value)

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

bytes max_value = 3;

Parameter
Name Description
value ByteString

The maxValue to set.

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

setMinValue(ByteString value)

public SequenceEntity.Builder setMinValue(ByteString value)

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

bytes min_value = 4;

Parameter
Name Description
value ByteString

The minValue to set.

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SequenceEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SequenceEntity.Builder
Overrides

setStartValue(ByteString value)

public SequenceEntity.Builder setStartValue(ByteString value)

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

bytes start_value = 2;

Parameter
Name Description
value ByteString

The startValue to set.

Returns
Type Description
SequenceEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SequenceEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SequenceEntity.Builder
Overrides