Package com.daml.ledger.api.v2
Class UpdateServiceOuterClass.GetUpdatesRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.UpdateServiceOuterClass.GetUpdatesRequest
- All Implemented Interfaces:
UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- UpdateServiceOuterClass
public static final class UpdateServiceOuterClass.GetUpdatesRequest
extends com.google.protobuf.GeneratedMessageV3
implements UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
Protobuf type
com.daml.ledger.api.v2.GetUpdatesRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typecom.daml.ledger.api.v2.GetUpdatesRequest
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Beginning of the requested ledger section (non-negative integer).static final com.google.protobuf.Descriptors.Descriptor
long
End of the requested ledger section.Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.com.google.protobuf.Parser<UpdateServiceOuterClass.GetUpdatesRequest>
int
Must be unset for GetUpdateTrees request.Must be unset for GetUpdateTrees request.boolean
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.boolean
End of the requested ledger section.boolean
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.int
hashCode()
boolean
Must be unset for GetUpdateTrees request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateServiceOuterClass.GetUpdatesRequest>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BEGIN_EXCLUSIVE_FIELD_NUMBER
public static final int BEGIN_EXCLUSIVE_FIELD_NUMBER- See Also:
-
END_INCLUSIVE_FIELD_NUMBER
public static final int END_INCLUSIVE_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
VERBOSE_FIELD_NUMBER
public static final int VERBOSE_FIELD_NUMBER- See Also:
-
UPDATE_FORMAT_FIELD_NUMBER
public static final int UPDATE_FORMAT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getBeginExclusive
public long getBeginExclusive()Beginning of the requested ledger section (non-negative integer). The response will only contain transactions whose offset is strictly greater than this. If zero, the stream will start from the beginning of the ledger. If positive, the streaming will start after this absolute offset. If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
int64 begin_exclusive = 1 [json_name = "beginExclusive"];
- Specified by:
getBeginExclusive
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- The beginExclusive.
-
hasEndInclusive
public boolean hasEndInclusive()End of the requested ledger section. The response will only contain transactions whose offset is less than or equal to this. Optional, if empty, the stream will not terminate. If specified, the stream will terminate after this absolute offset (positive integer) is reached.
optional int64 end_inclusive = 2 [json_name = "endInclusive"];
- Specified by:
hasEndInclusive
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- Whether the endInclusive field is set.
-
getEndInclusive
public long getEndInclusive()End of the requested ledger section. The response will only contain transactions whose offset is less than or equal to this. Optional, if empty, the stream will not terminate. If specified, the stream will terminate after this absolute offset (positive integer) is reached.
optional int64 end_inclusive = 2 [json_name = "endInclusive"];
- Specified by:
getEndInclusive
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- The endInclusive.
-
hasFilter
public boolean hasFilter()Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Requesting parties with template filters. Template filters must be empty for GetUpdateTrees requests. Optional for backwards compatibility, if defined update_format must be unset
.com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
- Specified by:
hasFilter
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Requesting parties with template filters. Template filters must be empty for GetUpdateTrees requests. Optional for backwards compatibility, if defined update_format must be unset
.com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
- Specified by:
getFilter
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- The filter.
-
getFilterOrBuilder
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. Requesting parties with template filters. Template filters must be empty for GetUpdateTrees requests. Optional for backwards compatibility, if defined update_format must be unset
.com.daml.ledger.api.v2.TransactionFilter filter = 3 [json_name = "filter"];
- Specified by:
getFilterOrBuilder
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
-
getVerbose
public boolean getVerbose()Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids for record fields. Optional for backwards compatibility, if defined update_format must be unset
bool verbose = 4 [json_name = "verbose"];
- Specified by:
getVerbose
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- The verbose.
-
hasUpdateFormat
public boolean hasUpdateFormat()Must be unset for GetUpdateTrees request. Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where: - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request - include_transactions.event_format.verbose = the same flag specified on this request - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA - include_reassignments.filter = the same filter specified on this request - include_reassignments.verbose = the same flag specified on this request - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
.com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
- Specified by:
hasUpdateFormat
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- Whether the updateFormat field is set.
-
getUpdateFormat
Must be unset for GetUpdateTrees request. Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where: - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request - include_transactions.event_format.verbose = the same flag specified on this request - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA - include_reassignments.filter = the same filter specified on this request - include_reassignments.verbose = the same flag specified on this request - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
.com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
- Specified by:
getUpdateFormat
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
- Returns:
- The updateFormat.
-
getUpdateFormatOrBuilder
Must be unset for GetUpdateTrees request. Optional for backwards compatibility for GetUpdates request: defaults to an UpdateFormat where: - include_transactions.event_format.filters_by_party = the filter.filters_by_party on this request - include_transactions.event_format.filters_for_any_party = the filter.filters_for_any_party on this request - include_transactions.event_format.verbose = the same flag specified on this request - include_transactions.transaction_shape = TRANSACTION_SHAPE_ACS_DELTA - include_reassignments.filter = the same filter specified on this request - include_reassignments.verbose = the same flag specified on this request - include_topology_events.include_participant_authorization_events.parties = all the parties specified in filter
.com.daml.ledger.api.v2.UpdateFormat update_format = 5 [json_name = "updateFormat"];
- Specified by:
getUpdateFormatOrBuilder
in interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateServiceOuterClass.GetUpdatesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UpdateServiceOuterClass.GetUpdatesRequest.Builder newBuilder(UpdateServiceOuterClass.GetUpdatesRequest prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateServiceOuterClass.GetUpdatesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-