Class CustomAPICheckpointConfig.Builder (0.37.0)

public static final class CustomAPICheckpointConfig.Builder extends GeneratedMessage.Builder<CustomAPICheckpointConfig.Builder> implements CustomAPICheckpointConfigOrBuilder

Checkpoint configuration to enable sequential (cursor-based) polling.

Protobuf type google.cloud.chronicle.v1.CustomAPICheckpointConfig

Static Methods

getDescriptor()

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

Methods

build()

public CustomAPICheckpointConfig build()
Returns
Type Description
CustomAPICheckpointConfig

buildPartial()

public CustomAPICheckpointConfig buildPartial()
Returns
Type Description
CustomAPICheckpointConfig

clear()

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

clearIteratorStrategy()

public CustomAPICheckpointConfig.Builder clearIteratorStrategy()

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Returns
Type Description
CustomAPICheckpointConfig.Builder

clearLatestRecordStrategy()

public CustomAPICheckpointConfig.Builder clearLatestRecordStrategy()

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Returns
Type Description
CustomAPICheckpointConfig.Builder

clearLatestTimestampStrategy()

public CustomAPICheckpointConfig.Builder clearLatestTimestampStrategy()

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Returns
Type Description
CustomAPICheckpointConfig.Builder

clearNoneStrategy()

public CustomAPICheckpointConfig.Builder clearNoneStrategy()

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Returns
Type Description
CustomAPICheckpointConfig.Builder

clearStrategy()

public CustomAPICheckpointConfig.Builder clearStrategy()
Returns
Type Description
CustomAPICheckpointConfig.Builder

getDefaultInstanceForType()

public CustomAPICheckpointConfig getDefaultInstanceForType()
Returns
Type Description
CustomAPICheckpointConfig

getDescriptorForType()

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

getIteratorStrategy()

public CustomAPICheckpointConfig.IteratorStrategy getIteratorStrategy()

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Returns
Type Description
CustomAPICheckpointConfig.IteratorStrategy

The iteratorStrategy.

getIteratorStrategyBuilder()

public CustomAPICheckpointConfig.IteratorStrategy.Builder getIteratorStrategyBuilder()

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Returns
Type Description
CustomAPICheckpointConfig.IteratorStrategy.Builder

getIteratorStrategyOrBuilder()

public CustomAPICheckpointConfig.IteratorStrategyOrBuilder getIteratorStrategyOrBuilder()

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Returns
Type Description
CustomAPICheckpointConfig.IteratorStrategyOrBuilder

getLatestRecordStrategy()

public CustomAPICheckpointConfig.LatestRecordStrategy getLatestRecordStrategy()

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Returns
Type Description
CustomAPICheckpointConfig.LatestRecordStrategy

The latestRecordStrategy.

getLatestRecordStrategyBuilder()

public CustomAPICheckpointConfig.LatestRecordStrategy.Builder getLatestRecordStrategyBuilder()

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Returns
Type Description
CustomAPICheckpointConfig.LatestRecordStrategy.Builder

getLatestRecordStrategyOrBuilder()

public CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder getLatestRecordStrategyOrBuilder()

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Returns
Type Description
CustomAPICheckpointConfig.LatestRecordStrategyOrBuilder

getLatestTimestampStrategy()

public CustomAPICheckpointConfig.LatestTimestampStrategy getLatestTimestampStrategy()

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy

The latestTimestampStrategy.

getLatestTimestampStrategyBuilder()

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder getLatestTimestampStrategyBuilder()

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

getLatestTimestampStrategyOrBuilder()

public CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilder getLatestTimestampStrategyOrBuilder()

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilder

getNoneStrategy()

public CustomAPICheckpointConfig.NoneStrategy getNoneStrategy()

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Returns
Type Description
CustomAPICheckpointConfig.NoneStrategy

The noneStrategy.

getNoneStrategyBuilder()

public CustomAPICheckpointConfig.NoneStrategy.Builder getNoneStrategyBuilder()

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Returns
Type Description
CustomAPICheckpointConfig.NoneStrategy.Builder

getNoneStrategyOrBuilder()

public CustomAPICheckpointConfig.NoneStrategyOrBuilder getNoneStrategyOrBuilder()

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Returns
Type Description
CustomAPICheckpointConfig.NoneStrategyOrBuilder

getStrategyCase()

public CustomAPICheckpointConfig.StrategyCase getStrategyCase()
Returns
Type Description
CustomAPICheckpointConfig.StrategyCase

hasIteratorStrategy()

public boolean hasIteratorStrategy()

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Returns
Type Description
boolean

Whether the iteratorStrategy field is set.

hasLatestRecordStrategy()

public boolean hasLatestRecordStrategy()

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Returns
Type Description
boolean

Whether the latestRecordStrategy field is set.

hasLatestTimestampStrategy()

public boolean hasLatestTimestampStrategy()

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Returns
Type Description
boolean

Whether the latestTimestampStrategy field is set.

hasNoneStrategy()

public boolean hasNoneStrategy()

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Returns
Type Description
boolean

Whether the noneStrategy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomAPICheckpointConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIteratorStrategy(CustomAPICheckpointConfig.IteratorStrategy value)

public CustomAPICheckpointConfig.Builder mergeIteratorStrategy(CustomAPICheckpointConfig.IteratorStrategy value)

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Parameter
Name Description
value CustomAPICheckpointConfig.IteratorStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

mergeLatestRecordStrategy(CustomAPICheckpointConfig.LatestRecordStrategy value)

public CustomAPICheckpointConfig.Builder mergeLatestRecordStrategy(CustomAPICheckpointConfig.LatestRecordStrategy value)

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Parameter
Name Description
value CustomAPICheckpointConfig.LatestRecordStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

mergeLatestTimestampStrategy(CustomAPICheckpointConfig.LatestTimestampStrategy value)

public CustomAPICheckpointConfig.Builder mergeLatestTimestampStrategy(CustomAPICheckpointConfig.LatestTimestampStrategy value)

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Parameter
Name Description
value CustomAPICheckpointConfig.LatestTimestampStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

mergeNoneStrategy(CustomAPICheckpointConfig.NoneStrategy value)

public CustomAPICheckpointConfig.Builder mergeNoneStrategy(CustomAPICheckpointConfig.NoneStrategy value)

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Parameter
Name Description
value CustomAPICheckpointConfig.NoneStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

setIteratorStrategy(CustomAPICheckpointConfig.IteratorStrategy value)

public CustomAPICheckpointConfig.Builder setIteratorStrategy(CustomAPICheckpointConfig.IteratorStrategy value)

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Parameter
Name Description
value CustomAPICheckpointConfig.IteratorStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

setIteratorStrategy(CustomAPICheckpointConfig.IteratorStrategy.Builder builderForValue)

public CustomAPICheckpointConfig.Builder setIteratorStrategy(CustomAPICheckpointConfig.IteratorStrategy.Builder builderForValue)

Use progress tokens provided by the API.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.IteratorStrategy iterator_strategy = 4;

Parameter
Name Description
builderForValue CustomAPICheckpointConfig.IteratorStrategy.Builder
Returns
Type Description
CustomAPICheckpointConfig.Builder

setLatestRecordStrategy(CustomAPICheckpointConfig.LatestRecordStrategy value)

public CustomAPICheckpointConfig.Builder setLatestRecordStrategy(CustomAPICheckpointConfig.LatestRecordStrategy value)

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Parameter
Name Description
value CustomAPICheckpointConfig.LatestRecordStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

setLatestRecordStrategy(CustomAPICheckpointConfig.LatestRecordStrategy.Builder builderForValue)

public CustomAPICheckpointConfig.Builder setLatestRecordStrategy(CustomAPICheckpointConfig.LatestRecordStrategy.Builder builderForValue)

Track the highest record ID to fetch only new records next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy latest_record_strategy = 3;

Parameter
Name Description
builderForValue CustomAPICheckpointConfig.LatestRecordStrategy.Builder
Returns
Type Description
CustomAPICheckpointConfig.Builder

setLatestTimestampStrategy(CustomAPICheckpointConfig.LatestTimestampStrategy value)

public CustomAPICheckpointConfig.Builder setLatestTimestampStrategy(CustomAPICheckpointConfig.LatestTimestampStrategy value)

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Parameter
Name Description
value CustomAPICheckpointConfig.LatestTimestampStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

setLatestTimestampStrategy(CustomAPICheckpointConfig.LatestTimestampStrategy.Builder builderForValue)

public CustomAPICheckpointConfig.Builder setLatestTimestampStrategy(CustomAPICheckpointConfig.LatestTimestampStrategy.Builder builderForValue)

Track the timestamp of the newest record to fetch newer ones next.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy latest_timestamp_strategy = 2;

Parameter
Name Description
builderForValue CustomAPICheckpointConfig.LatestTimestampStrategy.Builder
Returns
Type Description
CustomAPICheckpointConfig.Builder

setNoneStrategy(CustomAPICheckpointConfig.NoneStrategy value)

public CustomAPICheckpointConfig.Builder setNoneStrategy(CustomAPICheckpointConfig.NoneStrategy value)

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Parameter
Name Description
value CustomAPICheckpointConfig.NoneStrategy
Returns
Type Description
CustomAPICheckpointConfig.Builder

setNoneStrategy(CustomAPICheckpointConfig.NoneStrategy.Builder builderForValue)

public CustomAPICheckpointConfig.Builder setNoneStrategy(CustomAPICheckpointConfig.NoneStrategy.Builder builderForValue)

Fetch all available data in one go without tracking progress.

.google.cloud.chronicle.v1.CustomAPICheckpointConfig.NoneStrategy none_strategy = 1;

Parameter
Name Description
builderForValue CustomAPICheckpointConfig.NoneStrategy.Builder
Returns
Type Description
CustomAPICheckpointConfig.Builder