Class TokenPoolPeriodicSyncState.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenPoolPeriodicSyncState.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenPoolPeriodicSyncState instances.
-
-
Field Summary
Fields Modifier and Type Field Description public TokenPoolCacheKey
poolKey
public TokenPoolCacheKey.Builder
poolKeyBuilder
public Instant
nextBlockStartOffset
-
Method Summary
Modifier and Type Method Description TokenPoolCacheKey
getPoolKey()
Gets the value of the 'poolKey' field. TokenPoolPeriodicSyncState.Builder
setPoolKey(TokenPoolCacheKey value)
Sets the value of the 'poolKey' field. TokenPoolCacheKey.Builder
getPoolKeyBuilder()
Gets the Builder instance for the 'poolKey' field and creates one if it doesn't exist yet. TokenPoolPeriodicSyncState.Builder
setPoolKeyBuilder(TokenPoolCacheKey.Builder value)
Sets the Builder instance for the 'poolKey' field Token cache pool the query is for Instant
getNextBlockStartOffset()
Gets the value of the 'nextBlockStartOffset' field. TokenPoolPeriodicSyncState.Builder
setNextBlockStartOffset(Instant value)
Sets the value of the 'nextBlockStartOffset' field. boolean
hasPoolKey()
Checks whether the 'poolKey' field has been set. boolean
hasPoolKeyBuilder()
Checks whether the 'poolKey' field has an active Builder instance Token cache pool the query is for TokenPoolPeriodicSyncState.Builder
clearPoolKey()
Clears the value of the 'poolKey' field. boolean
hasNextBlockStartOffset()
Checks whether the 'nextBlockStartOffset' field has been set. TokenPoolPeriodicSyncState.Builder
clearNextBlockStartOffset()
Clears the value of the 'nextBlockStartOffset' field. TokenPoolPeriodicSyncState
build()
-
-
Method Detail
-
getPoolKey
TokenPoolCacheKey getPoolKey()
Gets the value of the 'poolKey' field. Token cache pool the query is for
-
setPoolKey
TokenPoolPeriodicSyncState.Builder setPoolKey(TokenPoolCacheKey value)
Sets the value of the 'poolKey' field. Token cache pool the query is for
- Parameters:
value
- The value of 'poolKey'.
-
getPoolKeyBuilder
TokenPoolCacheKey.Builder getPoolKeyBuilder()
Gets the Builder instance for the 'poolKey' field and creates one if it doesn't exist yet. Token cache pool the query is for
-
setPoolKeyBuilder
TokenPoolPeriodicSyncState.Builder setPoolKeyBuilder(TokenPoolCacheKey.Builder value)
Sets the Builder instance for the 'poolKey' field Token cache pool the query is for
- Parameters:
value
- The builder instance that must be set.
-
getNextBlockStartOffset
Instant getNextBlockStartOffset()
Gets the value of the 'nextBlockStartOffset' field. The (inclusive) timestamp to start reading the next block of records
-
setNextBlockStartOffset
TokenPoolPeriodicSyncState.Builder setNextBlockStartOffset(Instant value)
Sets the value of the 'nextBlockStartOffset' field. The (inclusive) timestamp to start reading the next block of records
- Parameters:
value
- The value of 'nextBlockStartOffset'.
-
hasPoolKey
boolean hasPoolKey()
Checks whether the 'poolKey' field has been set. Token cache pool the query is for
-
hasPoolKeyBuilder
boolean hasPoolKeyBuilder()
Checks whether the 'poolKey' field has an active Builder instance Token cache pool the query is for
-
clearPoolKey
TokenPoolPeriodicSyncState.Builder clearPoolKey()
Clears the value of the 'poolKey' field. Token cache pool the query is for
-
hasNextBlockStartOffset
boolean hasNextBlockStartOffset()
Checks whether the 'nextBlockStartOffset' field has been set. The (inclusive) timestamp to start reading the next block of records
-
clearNextBlockStartOffset
TokenPoolPeriodicSyncState.Builder clearNextBlockStartOffset()
Clears the value of the 'nextBlockStartOffset' field. The (inclusive) timestamp to start reading the next block of records
-
build
TokenPoolPeriodicSyncState build()
-
-
-
-