public static final class CustomAPICheckpointConfig.LatestTimestampStrategy extends GeneratedMessage implements CustomAPICheckpointConfig.LatestTimestampStrategyOrBuilderTrack the timestamp of the newest record to fetch newer ones next.
Protobuf type
google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestTimestampStrategy
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CustomAPICheckpointConfig.LatestTimestampStrategyStatic Fields
CHECKPOINT_VALUE_PATH_FIELD_NUMBER
public static final int CHECKPOINT_VALUE_PATH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CHECKPOINT_VARIABLE_FIELD_NUMBER
public static final int CHECKPOINT_VARIABLE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomAPICheckpointConfig.LatestTimestampStrategy getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CustomAPICheckpointConfig.LatestTimestampStrategy.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder |
|
newBuilder(CustomAPICheckpointConfig.LatestTimestampStrategy prototype)
public static CustomAPICheckpointConfig.LatestTimestampStrategy.Builder newBuilder(CustomAPICheckpointConfig.LatestTimestampStrategy prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CustomAPICheckpointConfig.LatestTimestampStrategy |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder |
|
parseDelimitedFrom(InputStream input)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestTimestampStrategy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CustomAPICheckpointConfig.LatestTimestampStrategy> parser()| Returns | |
|---|---|
| Type | Description |
Parser<LatestTimestampStrategy> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
getParserForType()
public Parser<CustomAPICheckpointConfig.LatestTimestampStrategy> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<LatestTimestampStrategy> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CustomAPICheckpointConfig.LatestTimestampStrategy.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder |
|
toBuilder()
public CustomAPICheckpointConfig.LatestTimestampStrategy.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestTimestampStrategy.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|