Package com.daml.ledger.api.v1
Class CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
- com.daml.ledger.api.v1.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
-
- All Implemented Interfaces:
CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CommandCompletionServiceOuterClass.CompletionStreamRequest
public static final class CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder> implements CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.CompletionStreamRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
addAllParties(java.lang.Iterable<java.lang.String> values)
Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
addParties(java.lang.String value)
Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
addPartiesBytes(com.google.protobuf.ByteString value)
Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandCompletionServiceOuterClass.CompletionStreamRequest
build()
CommandCompletionServiceOuterClass.CompletionStreamRequest
buildPartial()
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clear()
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clearApplicationId()
Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clearLedgerId()
Must correspond to the ledger id reported by the Ledger Identification Service.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clearOffset()
This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clearParties()
Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
clone()
java.lang.String
getApplicationId()
Only completions of commands submitted with the same application_id will be visible in the stream.com.google.protobuf.ByteString
getApplicationIdBytes()
Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getLedgerId()
Must correspond to the ledger id reported by the Ledger Identification Service.com.google.protobuf.ByteString
getLedgerIdBytes()
Must correspond to the ledger id reported by the Ledger Identification Service.LedgerOffsetOuterClass.LedgerOffset
getOffset()
This field indicates the minimum offset for completions.LedgerOffsetOuterClass.LedgerOffset.Builder
getOffsetBuilder()
This field indicates the minimum offset for completions.LedgerOffsetOuterClass.LedgerOffsetOrBuilder
getOffsetOrBuilder()
This field indicates the minimum offset for completions.java.lang.String
getParties(int index)
Non-empty list of parties whose data should be included.com.google.protobuf.ByteString
getPartiesBytes(int index)
Non-empty list of parties whose data should be included.int
getPartiesCount()
Non-empty list of parties whose data should be included.com.google.protobuf.ProtocolStringList
getPartiesList()
Non-empty list of parties whose data should be included.boolean
hasOffset()
This field indicates the minimum offset for completions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
mergeFrom(CommandCompletionServiceOuterClass.CompletionStreamRequest other)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
mergeFrom(com.google.protobuf.Message other)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
mergeOffset(LedgerOffsetOuterClass.LedgerOffset value)
This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setApplicationId(java.lang.String value)
Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setApplicationIdBytes(com.google.protobuf.ByteString value)
Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setLedgerId(java.lang.String value)
Must correspond to the ledger id reported by the Ledger Identification Service.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger id reported by the Ledger Identification Service.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setOffset(LedgerOffsetOuterClass.LedgerOffset value)
This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setOffset(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setParties(int index, java.lang.String value)
Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
clear
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
getDefaultInstanceForType
public CommandCompletionServiceOuterClass.CompletionStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandCompletionServiceOuterClass.CompletionStreamRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandCompletionServiceOuterClass.CompletionStreamRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
setField
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
clearField
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
clearOneof
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
setRepeatedField
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
addRepeatedField
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(CommandCompletionServiceOuterClass.CompletionStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
- Throws:
java.io.IOException
-
getLedgerId
public java.lang.String getLedgerId()
Must correspond to the ledger id reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerId
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- The ledgerId.
-
getLedgerIdBytes
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger id reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerIdBytes
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger id reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearLedgerId()
Must correspond to the ledger id reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger id reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
getApplicationId
public java.lang.String getApplicationId()
Only completions of commands submitted with the same application_id will be visible in the stream. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 2 [json_name = "applicationId"];
- Specified by:
getApplicationId
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- The applicationId.
-
getApplicationIdBytes
public com.google.protobuf.ByteString getApplicationIdBytes()
Only completions of commands submitted with the same application_id will be visible in the stream. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 2 [json_name = "applicationId"];
- Specified by:
getApplicationIdBytes
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- The bytes for applicationId.
-
setApplicationId
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setApplicationId(java.lang.String value)
Only completions of commands submitted with the same application_id will be visible in the stream. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 2 [json_name = "applicationId"];
- Parameters:
value
- The applicationId to set.- Returns:
- This builder for chaining.
-
clearApplicationId
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearApplicationId()
Only completions of commands submitted with the same application_id will be visible in the stream. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 2 [json_name = "applicationId"];
- Returns:
- This builder for chaining.
-
setApplicationIdBytes
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setApplicationIdBytes(com.google.protobuf.ByteString value)
Only completions of commands submitted with the same application_id will be visible in the stream. Must be a valid ApplicationIdString (as described in ``value.proto``). Required unless authentication is used with a user token or a custom token specifying an application-id. In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
string application_id = 2 [json_name = "applicationId"];
- Parameters:
value
- The bytes for applicationId to set.- Returns:
- This builder for chaining.
-
getPartiesList
public com.google.protobuf.ProtocolStringList getPartiesList()
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Specified by:
getPartiesList
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- A list containing the parties.
-
getPartiesCount
public int getPartiesCount()
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Specified by:
getPartiesCount
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- The count of parties.
-
getParties
public java.lang.String getParties(int index)
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Specified by:
getParties
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The parties at the given index.
-
getPartiesBytes
public com.google.protobuf.ByteString getPartiesBytes(int index)
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Specified by:
getPartiesBytes
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the parties at the given index.
-
setParties
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setParties(int index, java.lang.String value)
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Parameters:
index
- The index to set the value at.value
- The parties to set.- Returns:
- This builder for chaining.
-
addParties
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addParties(java.lang.String value)
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Parameters:
value
- The parties to add.- Returns:
- This builder for chaining.
-
addAllParties
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addAllParties(java.lang.Iterable<java.lang.String> values)
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Parameters:
values
- The parties to add.- Returns:
- This builder for chaining.
-
clearParties
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearParties()
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Returns:
- This builder for chaining.
-
addPartiesBytes
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addPartiesBytes(com.google.protobuf.ByteString value)
Non-empty list of parties whose data should be included. Only completions of commands for which at least one of the ``act_as`` parties is in the given set of parties will be visible in the stream. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3 [json_name = "parties"];
- Parameters:
value
- The bytes of the parties to add.- Returns:
- This builder for chaining.
-
hasOffset
public boolean hasOffset()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
- Specified by:
hasOffset
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- Whether the offset field is set.
-
getOffset
public LedgerOffsetOuterClass.LedgerOffset getOffset()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
- Specified by:
getOffset
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
- Returns:
- The offset.
-
setOffset
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setOffset(LedgerOffsetOuterClass.LedgerOffset value)
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
-
setOffset
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setOffset(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
-
mergeOffset
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeOffset(LedgerOffsetOuterClass.LedgerOffset value)
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
-
clearOffset
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearOffset()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
-
getOffsetBuilder
public LedgerOffsetOuterClass.LedgerOffset.Builder getOffsetBuilder()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
-
getOffsetOrBuilder
public LedgerOffsetOuterClass.LedgerOffsetOrBuilder getOffsetOrBuilder()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4 [json_name = "offset"];
- Specified by:
getOffsetOrBuilder
in interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
-
setUnknownFields
public final CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeUnknownFields
public final CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
-