Class OracleScnPosition.Builder (1.54.0)

public static final class OracleScnPosition.Builder extends GeneratedMessageV3.Builder<OracleScnPosition.Builder> implements OracleScnPositionOrBuilder

Oracle SCN position

Protobuf type google.cloud.datastream.v1.OracleScnPosition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OracleScnPosition build()
Returns
Type Description
OracleScnPosition

buildPartial()

public OracleScnPosition buildPartial()
Returns
Type Description
OracleScnPosition

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScn()

public OracleScnPosition.Builder clearScn()

Required. SCN number from where Logs will be read

int64 scn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleScnPosition.Builder

This builder for chaining.

clone()

public OracleScnPosition.Builder clone()
Returns
Type Description
OracleScnPosition.Builder
Overrides

getDefaultInstanceForType()

public OracleScnPosition getDefaultInstanceForType()
Returns
Type Description
OracleScnPosition

getDescriptorForType()

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

getScn()

public long getScn()

Required. SCN number from where Logs will be read

int64 scn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The scn.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OracleScnPosition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScn(long value)

public OracleScnPosition.Builder setScn(long value)

Required. SCN number from where Logs will be read

int64 scn = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The scn to set.

Returns
Type Description
OracleScnPosition.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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