Class CustomAPICheckpointConfig.LatestTimestampStrategy.Builder (0.37.0)

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

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

Protobuf type google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy

Static Methods

getDescriptor()

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

Methods

build()

public CustomAPICheckpointConfig.LatestTimestampStrategy build()
Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy

buildPartial()

public CustomAPICheckpointConfig.LatestTimestampStrategy buildPartial()
Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy

clear()

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

clearCheckpointValuePath()

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder clearCheckpointValuePath()

Required. Enter the exact location within a log record where the checkpoint value (like a timestamp or ID) is found.

string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

This builder for chaining.

clearCheckpointVariable()

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder clearCheckpointVariable()

Required. Specify a custom name you assign to store and reference the checkpoint value between polling cycles.

string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

This builder for chaining.

getCheckpointValuePath()

public String getCheckpointValuePath()

Required. Enter the exact location within a log record where the checkpoint value (like a timestamp or ID) is found.

string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The checkpointValuePath.

getCheckpointValuePathBytes()

public ByteString getCheckpointValuePathBytes()

Required. Enter the exact location within a log record where the checkpoint value (like a timestamp or ID) is found.

string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for checkpointValuePath.

getCheckpointVariable()

public String getCheckpointVariable()

Required. Specify a custom name you assign to store and reference the checkpoint value between polling cycles.

string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The checkpointVariable.

getCheckpointVariableBytes()

public ByteString getCheckpointVariableBytes()

Required. Specify a custom name you assign to store and reference the checkpoint value between polling cycles.

string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for checkpointVariable.

getDefaultInstanceForType()

public CustomAPICheckpointConfig.LatestTimestampStrategy getDefaultInstanceForType()
Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomAPICheckpointConfig.LatestTimestampStrategy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCheckpointValuePath(String value)

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder setCheckpointValuePath(String value)

Required. Enter the exact location within a log record where the checkpoint value (like a timestamp or ID) is found.

string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The checkpointValuePath to set.

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

This builder for chaining.

setCheckpointValuePathBytes(ByteString value)

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder setCheckpointValuePathBytes(ByteString value)

Required. Enter the exact location within a log record where the checkpoint value (like a timestamp or ID) is found.

string checkpoint_value_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for checkpointValuePath to set.

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

This builder for chaining.

setCheckpointVariable(String value)

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder setCheckpointVariable(String value)

Required. Specify a custom name you assign to store and reference the checkpoint value between polling cycles.

string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The checkpointVariable to set.

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

This builder for chaining.

setCheckpointVariableBytes(ByteString value)

public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder setCheckpointVariableBytes(ByteString value)

Required. Specify a custom name you assign to store and reference the checkpoint value between polling cycles.

string checkpoint_variable = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for checkpointVariable to set.

Returns
Type Description
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder

This builder for chaining.