public static final class CustomAPICheckpointConfig.LatestRecordStrategy extends GeneratedMessage implements CustomAPICheckpointConfig.LatestRecordStrategyOrBuilderTrack the highest record ID to fetch only new records next.
Protobuf type google.cloud.chronicle.v1.CustomAPICheckpointConfig.LatestRecordStrategy
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CustomAPICheckpointConfig.LatestRecordStrategyStatic 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.LatestRecordStrategy getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CustomAPICheckpointConfig.LatestRecordStrategy.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy.Builder |
|
newBuilder(CustomAPICheckpointConfig.LatestRecordStrategy prototype)
public static CustomAPICheckpointConfig.LatestRecordStrategy.Builder newBuilder(CustomAPICheckpointConfig.LatestRecordStrategy prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CustomAPICheckpointConfig.LatestRecordStrategy |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy.Builder |
|
parseDelimitedFrom(InputStream input)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomAPICheckpointConfig.LatestRecordStrategy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CustomAPICheckpointConfig.LatestRecordStrategy> parser()| Returns | |
|---|---|
| Type | Description |
Parser<LatestRecordStrategy> |
|
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.LatestRecordStrategy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy |
|
getParserForType()
public Parser<CustomAPICheckpointConfig.LatestRecordStrategy> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<LatestRecordStrategy> |
|
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.LatestRecordStrategy.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CustomAPICheckpointConfig.LatestRecordStrategy.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy.Builder |
|
toBuilder()
public CustomAPICheckpointConfig.LatestRecordStrategy.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CustomAPICheckpointConfig.LatestRecordStrategy.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|