public static final class CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder> implements CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
com.daml.ledger.api.v1.CompletionStreamRequest
Modifier and Type | Method and 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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder |
mergeFrom(CommandCompletionServiceOuterClass.CompletionStreamRequest other) |
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.Builder builderForValue)
This field indicates the minimum offset for completions.
|
CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder |
setOffset(LedgerOffsetOuterClass.LedgerOffset value)
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) |
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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandCompletionServiceOuterClass.CompletionStreamRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandCompletionServiceOuterClass.CompletionStreamRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeFrom(CommandCompletionServiceOuterClass.CompletionStreamRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
public CommandCompletionServiceOuterClass.CompletionStreamRequest.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.CompletionStreamRequest.Builder>
java.io.IOException
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``). Required
string ledger_id = 1[json_name = "ledgerId"];
getLedgerId
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
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``). Required
string ledger_id = 1[json_name = "ledgerId"];
getLedgerIdBytes
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
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``). Required
string ledger_id = 1[json_name = "ledgerId"];
value
- The ledgerId to set.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``). Required
string ledger_id = 1[json_name = "ledgerId"];
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``). Required
string ledger_id = 1[json_name = "ledgerId"];
value
- The bytes for ledgerId to set.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 LedgerString (as described in ``value.proto``). Required
string application_id = 2[json_name = "applicationId"];
getApplicationId
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
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 LedgerString (as described in ``value.proto``). Required
string application_id = 2[json_name = "applicationId"];
getApplicationIdBytes
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
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 LedgerString (as described in ``value.proto``). Required
string application_id = 2[json_name = "applicationId"];
value
- The applicationId to set.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 LedgerString (as described in ``value.proto``). Required
string application_id = 2[json_name = "applicationId"];
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 LedgerString (as described in ``value.proto``). Required
string application_id = 2[json_name = "applicationId"];
value
- The bytes for applicationId to set.public com.google.protobuf.ProtocolStringList getPartiesList()
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
getPartiesList
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
public int getPartiesCount()
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
getPartiesCount
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
public java.lang.String getParties(int index)
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
getParties
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getPartiesBytes(int index)
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
getPartiesBytes
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
index
- The index of the value to return.public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setParties(int index, java.lang.String value)
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
index
- The index to set the value at.value
- The parties to set.public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addParties(java.lang.String value)
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
value
- The parties to add.public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addAllParties(java.lang.Iterable<java.lang.String> values)
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
values
- The parties to add.public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearParties()
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder addPartiesBytes(com.google.protobuf.ByteString value)
Non-empty list of parties whose data should be included. Must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string parties = 3[json_name = "parties"];
value
- The bytes of the parties to add.public boolean hasOffset()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
hasOffset
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
public LedgerOffsetOuterClass.LedgerOffset getOffset()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
getOffset
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
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. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
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. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
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. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
public CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder clearOffset()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
public LedgerOffsetOuterClass.LedgerOffset.Builder getOffsetBuilder()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. Optional, if not set the ledger uses the current ledger end offset instead.
.com.daml.ledger.api.v1.LedgerOffset offset = 4[json_name = "offset"];
public LedgerOffsetOuterClass.LedgerOffsetOrBuilder getOffsetOrBuilder()
This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. 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
in interface CommandCompletionServiceOuterClass.CompletionStreamRequestOrBuilder
public final CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>
public final CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandCompletionServiceOuterClass.CompletionStreamRequest.Builder>