Class CustomAPICheckpointConfig.IteratorStrategy.Builder (0.37.0)

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

Use progress tokens provided by the API.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCheckpointValuePath()

public CustomAPICheckpointConfig.IteratorStrategy.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.IteratorStrategy.Builder

This builder for chaining.

clearCheckpointVariable()

public CustomAPICheckpointConfig.IteratorStrategy.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.IteratorStrategy.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.IteratorStrategy getDefaultInstanceForType()
Returns
Type Description
CustomAPICheckpointConfig.IteratorStrategy

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.IteratorStrategy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCheckpointValuePath(String value)

public CustomAPICheckpointConfig.IteratorStrategy.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.IteratorStrategy.Builder

This builder for chaining.

setCheckpointValuePathBytes(ByteString value)

public CustomAPICheckpointConfig.IteratorStrategy.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.IteratorStrategy.Builder

This builder for chaining.

setCheckpointVariable(String value)

public CustomAPICheckpointConfig.IteratorStrategy.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.IteratorStrategy.Builder

This builder for chaining.

setCheckpointVariableBytes(ByteString value)

public CustomAPICheckpointConfig.IteratorStrategy.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.IteratorStrategy.Builder

This builder for chaining.