public static final class CommandCompletionServiceOuterClass.Checkpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder> implements CommandCompletionServiceOuterClass.CheckpointOrBuilder
Checkpoints may be used to: * detect time out of commands. * provide an offset which can be used to restart consumption.Protobuf type
com.daml.ledger.api.v1.Checkpoint
Modifier and Type | Method and Description |
---|---|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CommandCompletionServiceOuterClass.Checkpoint |
build() |
CommandCompletionServiceOuterClass.Checkpoint |
buildPartial() |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
clear() |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
clearOffset()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
clearRecordTime()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
clone() |
CommandCompletionServiceOuterClass.Checkpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LedgerOffsetOuterClass.LedgerOffset |
getOffset()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
LedgerOffsetOuterClass.LedgerOffset.Builder |
getOffsetBuilder()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
LedgerOffsetOuterClass.LedgerOffsetOrBuilder |
getOffsetOrBuilder()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
com.google.protobuf.Timestamp |
getRecordTime()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
com.google.protobuf.Timestamp.Builder |
getRecordTimeBuilder()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
com.google.protobuf.TimestampOrBuilder |
getRecordTimeOrBuilder()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
boolean |
hasOffset()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
boolean |
hasRecordTime()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
mergeFrom(CommandCompletionServiceOuterClass.Checkpoint other) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
mergeOffset(LedgerOffsetOuterClass.LedgerOffset value)
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
mergeRecordTime(com.google.protobuf.Timestamp value)
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setOffset(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setOffset(LedgerOffsetOuterClass.LedgerOffset value)
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setRecordTime(com.google.protobuf.Timestamp.Builder builderForValue)
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setRecordTime(com.google.protobuf.Timestamp value)
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
|
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CommandCompletionServiceOuterClass.Checkpoint.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandCompletionServiceOuterClass.Checkpoint build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandCompletionServiceOuterClass.Checkpoint buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandCompletionServiceOuterClass.Checkpoint.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder mergeFrom(CommandCompletionServiceOuterClass.Checkpoint other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public CommandCompletionServiceOuterClass.Checkpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
java.io.IOException
public boolean hasRecordTime()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
hasRecordTime
in interface CommandCompletionServiceOuterClass.CheckpointOrBuilder
public com.google.protobuf.Timestamp getRecordTime()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
getRecordTime
in interface CommandCompletionServiceOuterClass.CheckpointOrBuilder
public CommandCompletionServiceOuterClass.Checkpoint.Builder setRecordTime(com.google.protobuf.Timestamp value)
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
public CommandCompletionServiceOuterClass.Checkpoint.Builder setRecordTime(com.google.protobuf.Timestamp.Builder builderForValue)
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
public CommandCompletionServiceOuterClass.Checkpoint.Builder mergeRecordTime(com.google.protobuf.Timestamp value)
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
public CommandCompletionServiceOuterClass.Checkpoint.Builder clearRecordTime()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
public com.google.protobuf.Timestamp.Builder getRecordTimeBuilder()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
public com.google.protobuf.TimestampOrBuilder getRecordTimeOrBuilder()
All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. Required
.google.protobuf.Timestamp record_time = 1[json_name = "recordTime"];
getRecordTimeOrBuilder
in interface CommandCompletionServiceOuterClass.CheckpointOrBuilder
public boolean hasOffset()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
hasOffset
in interface CommandCompletionServiceOuterClass.CheckpointOrBuilder
public LedgerOffsetOuterClass.LedgerOffset getOffset()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
getOffset
in interface CommandCompletionServiceOuterClass.CheckpointOrBuilder
public CommandCompletionServiceOuterClass.Checkpoint.Builder setOffset(LedgerOffsetOuterClass.LedgerOffset value)
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
public CommandCompletionServiceOuterClass.Checkpoint.Builder setOffset(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
public CommandCompletionServiceOuterClass.Checkpoint.Builder mergeOffset(LedgerOffsetOuterClass.LedgerOffset value)
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
public CommandCompletionServiceOuterClass.Checkpoint.Builder clearOffset()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
public LedgerOffsetOuterClass.LedgerOffset.Builder getOffsetBuilder()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
public LedgerOffsetOuterClass.LedgerOffsetOrBuilder getOffsetOrBuilder()
May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. Required
.com.daml.ledger.api.v1.LedgerOffset offset = 2[json_name = "offset"];
getOffsetOrBuilder
in interface CommandCompletionServiceOuterClass.CheckpointOrBuilder
public final CommandCompletionServiceOuterClass.Checkpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>
public final CommandCompletionServiceOuterClass.Checkpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.Checkpoint.Builder>