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.BuilderaddAllParties(java.lang.Iterable<java.lang.String> values)Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderaddParties(java.lang.String value)Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderaddPartiesBytes(com.google.protobuf.ByteString value)Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CommandCompletionServiceOuterClass.CompletionStreamRequestbuild()CommandCompletionServiceOuterClass.CompletionStreamRequestbuildPartial()CommandCompletionServiceOuterClass.CompletionStreamRequest.Builderclear()CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderclearApplicationId()Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderclearLedgerId()Must correspond to the ledger id reported by the Ledger Identification Service.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderclearOffset()This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuilderclearParties()Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.Builderclone()java.lang.StringgetApplicationId()Only completions of commands submitted with the same application_id will be visible in the stream.com.google.protobuf.ByteStringgetApplicationIdBytes()Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetLedgerId()Must correspond to the ledger id reported by the Ledger Identification Service.com.google.protobuf.ByteStringgetLedgerIdBytes()Must correspond to the ledger id reported by the Ledger Identification Service.LedgerOffsetOuterClass.LedgerOffsetgetOffset()This field indicates the minimum offset for completions.LedgerOffsetOuterClass.LedgerOffset.BuildergetOffsetBuilder()This field indicates the minimum offset for completions.LedgerOffsetOuterClass.LedgerOffsetOrBuildergetOffsetOrBuilder()This field indicates the minimum offset for completions.java.lang.StringgetParties(int index)Non-empty list of parties whose data should be included.com.google.protobuf.ByteStringgetPartiesBytes(int index)Non-empty list of parties whose data should be included.intgetPartiesCount()Non-empty list of parties whose data should be included.com.google.protobuf.ProtocolStringListgetPartiesList()Non-empty list of parties whose data should be included.booleanhasOffset()This field indicates the minimum offset for completions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildermergeFrom(CommandCompletionServiceOuterClass.CompletionStreamRequest other)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildermergeFrom(com.google.protobuf.Message other)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildermergeOffset(LedgerOffsetOuterClass.LedgerOffset value)This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetApplicationId(java.lang.String value)Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetApplicationIdBytes(com.google.protobuf.ByteString value)Only completions of commands submitted with the same application_id will be visible in the stream.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetLedgerId(java.lang.String value)Must correspond to the ledger id reported by the Ledger Identification Service.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetLedgerIdBytes(com.google.protobuf.ByteString value)Must correspond to the ledger id reported by the Ledger Identification Service.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetOffset(LedgerOffsetOuterClass.LedgerOffset value)This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetOffset(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)This field indicates the minimum offset for completions.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetParties(int index, java.lang.String value)Non-empty list of parties whose data should be included.CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CommandCompletionServiceOuterClass.CompletionStreamRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
clear
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
getDefaultInstanceForType
public CommandCompletionServiceOuterClass.CompletionStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandCompletionServiceOuterClass.CompletionStreamRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandCompletionServiceOuterClass.CompletionStreamRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
clearField
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
clearOneof
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeFrom
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(CommandCompletionServiceOuterClass.CompletionStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getLedgerIdin 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:
getLedgerIdBytesin 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:
getApplicationIdin 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:
getApplicationIdBytesin 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:
getPartiesListin 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:
getPartiesCountin 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:
getPartiesin 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:
getPartiesBytesin 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:
hasOffsetin 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:
getOffsetin 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:
getOffsetOrBuilderin interfaceCommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
-
setUnknownFields
public final CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
mergeUnknownFields
public final CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
-
-