public static final class CdcStrategy.Builder extends GeneratedMessageV3.Builder<CdcStrategy.Builder> implements CdcStrategyOrBuilder
The strategy that the stream uses for CDC replication.
Protobuf type google.cloud.datastream.v1.CdcStrategy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CdcStrategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CdcStrategy build()
buildPartial()
public CdcStrategy buildPartial()
clear()
public CdcStrategy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CdcStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMostRecentStartPosition()
public CdcStrategy.Builder clearMostRecentStartPosition()
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
clearNextAvailableStartPosition()
public CdcStrategy.Builder clearNextAvailableStartPosition()
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public CdcStrategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSpecificStartPosition()
public CdcStrategy.Builder clearSpecificStartPosition()
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
clearStartPosition()
public CdcStrategy.Builder clearStartPosition()
clone()
public CdcStrategy.Builder clone()
Overrides
getDefaultInstanceForType()
public CdcStrategy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMostRecentStartPosition()
public CdcStrategy.MostRecentStartPosition getMostRecentStartPosition()
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
getMostRecentStartPositionBuilder()
public CdcStrategy.MostRecentStartPosition.Builder getMostRecentStartPositionBuilder()
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
getMostRecentStartPositionOrBuilder()
public CdcStrategy.MostRecentStartPositionOrBuilder getMostRecentStartPositionOrBuilder()
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
getNextAvailableStartPosition()
public CdcStrategy.NextAvailableStartPosition getNextAvailableStartPosition()
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
getNextAvailableStartPositionBuilder()
public CdcStrategy.NextAvailableStartPosition.Builder getNextAvailableStartPositionBuilder()
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
getNextAvailableStartPositionOrBuilder()
public CdcStrategy.NextAvailableStartPositionOrBuilder getNextAvailableStartPositionOrBuilder()
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
getSpecificStartPosition()
public CdcStrategy.SpecificStartPosition getSpecificStartPosition()
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
getSpecificStartPositionBuilder()
public CdcStrategy.SpecificStartPosition.Builder getSpecificStartPositionBuilder()
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
getSpecificStartPositionOrBuilder()
public CdcStrategy.SpecificStartPositionOrBuilder getSpecificStartPositionOrBuilder()
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
getStartPositionCase()
public CdcStrategy.StartPositionCase getStartPositionCase()
hasMostRecentStartPosition()
public boolean hasMostRecentStartPosition()
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the mostRecentStartPosition field is set.
|
hasNextAvailableStartPosition()
public boolean hasNextAvailableStartPosition()
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the nextAvailableStartPosition field is set.
|
hasSpecificStartPosition()
public boolean hasSpecificStartPosition()
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the specificStartPosition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CdcStrategy other)
public CdcStrategy.Builder mergeFrom(CdcStrategy other)
public CdcStrategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CdcStrategy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMostRecentStartPosition(CdcStrategy.MostRecentStartPosition value)
public CdcStrategy.Builder mergeMostRecentStartPosition(CdcStrategy.MostRecentStartPosition value)
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
mergeNextAvailableStartPosition(CdcStrategy.NextAvailableStartPosition value)
public CdcStrategy.Builder mergeNextAvailableStartPosition(CdcStrategy.NextAvailableStartPosition value)
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
mergeSpecificStartPosition(CdcStrategy.SpecificStartPosition value)
public CdcStrategy.Builder mergeSpecificStartPosition(CdcStrategy.SpecificStartPosition value)
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CdcStrategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CdcStrategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMostRecentStartPosition(CdcStrategy.MostRecentStartPosition value)
public CdcStrategy.Builder setMostRecentStartPosition(CdcStrategy.MostRecentStartPosition value)
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
setMostRecentStartPosition(CdcStrategy.MostRecentStartPosition.Builder builderForValue)
public CdcStrategy.Builder setMostRecentStartPosition(CdcStrategy.MostRecentStartPosition.Builder builderForValue)
Optional. Start replicating from the most recent position in the source.
.google.cloud.datastream.v1.CdcStrategy.MostRecentStartPosition most_recent_start_position = 101 [(.google.api.field_behavior) = OPTIONAL];
setNextAvailableStartPosition(CdcStrategy.NextAvailableStartPosition value)
public CdcStrategy.Builder setNextAvailableStartPosition(CdcStrategy.NextAvailableStartPosition value)
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
setNextAvailableStartPosition(CdcStrategy.NextAvailableStartPosition.Builder builderForValue)
public CdcStrategy.Builder setNextAvailableStartPosition(CdcStrategy.NextAvailableStartPosition.Builder builderForValue)
Optional. Resume replication from the next available position in the
source.
.google.cloud.datastream.v1.CdcStrategy.NextAvailableStartPosition next_available_start_position = 102 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CdcStrategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSpecificStartPosition(CdcStrategy.SpecificStartPosition value)
public CdcStrategy.Builder setSpecificStartPosition(CdcStrategy.SpecificStartPosition value)
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
setSpecificStartPosition(CdcStrategy.SpecificStartPosition.Builder builderForValue)
public CdcStrategy.Builder setSpecificStartPosition(CdcStrategy.SpecificStartPosition.Builder builderForValue)
Optional. Start replicating from a specific position in the source.
.google.cloud.datastream.v1.CdcStrategy.SpecificStartPosition specific_start_position = 103 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public final CdcStrategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides