Class SequenceEntity.Builder (2.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SequenceEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SequenceEntity.Builder
Overrides

build()

public SequenceEntity build()
Returns
TypeDescription
SequenceEntity

buildPartial()

public SequenceEntity buildPartial()
Returns
TypeDescription
SequenceEntity

clear()

public SequenceEntity.Builder clear()
Returns
TypeDescription
SequenceEntity.Builder
Overrides

clearCache()

public SequenceEntity.Builder clearCache()

Indicates number of entries to cache / precreate.

int64 cache = 6;

Returns
TypeDescription
SequenceEntity.Builder

This builder for chaining.

clearCustomFeatures()

public SequenceEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
TypeDescription
SequenceEntity.Builder

clearCycle()

public SequenceEntity.Builder clearCycle()

Indicates whether the sequence value should cycle through.

bool cycle = 5;

Returns
TypeDescription
SequenceEntity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SequenceEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SequenceEntity.Builder
Overrides

clearIncrement()

public SequenceEntity.Builder clearIncrement()

Increment value for the sequence.

int64 increment = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SequenceEntity.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SequenceEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SequenceEntity.Builder

This builder for chaining.

clone()

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

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomFeatures(Struct value)

public SequenceEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SequenceEntity.Builder

mergeFrom(SequenceEntity other)

public SequenceEntity.Builder mergeFrom(SequenceEntity other)
Parameter
NameDescription
otherSequenceEntity
Returns
TypeDescription
SequenceEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SequenceEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SequenceEntity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SequenceEntity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SequenceEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SequenceEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SequenceEntity.Builder
Overrides

setCache(long value)

public SequenceEntity.Builder setCache(long value)

Indicates number of entries to cache / precreate.

int64 cache = 6;

Parameter
NameDescription
valuelong

The cache to set.

Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
SequenceEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public SequenceEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 7;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SequenceEntity.Builder

setCycle(boolean value)

public SequenceEntity.Builder setCycle(boolean value)

Indicates whether the sequence value should cycle through.

bool cycle = 5;

Parameter
NameDescription
valueboolean

The cycle to set.

Returns
TypeDescription
SequenceEntity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SequenceEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SequenceEntity.Builder
Overrides

setIncrement(long value)

public SequenceEntity.Builder setIncrement(long value)

Increment value for the sequence.

int64 increment = 1;

Parameter
NameDescription
valuelong

The increment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The maxValue to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The minValue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueByteString

The startValue to set.

Returns
TypeDescription
SequenceEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SequenceEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SequenceEntity.Builder
Overrides