Package com.daml.ledger.api.v2
Interface TopologyTransactionOuterClass.TopologyTransactionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TopologyTransactionOuterClass.TopologyTransaction
,TopologyTransactionOuterClass.TopologyTransaction.Builder
- Enclosing class:
- TopologyTransactionOuterClass
public static interface TopologyTransactionOuterClass.TopologyTransactionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEvents
(int index) A non-empty list of topology events.int
A non-empty list of topology events.A non-empty list of topology events.getEventsOrBuilder
(int index) A non-empty list of topology events.A non-empty list of topology events.long
The absolute offset.com.google.protobuf.Timestamp
The time at which the changes in the topology transaction become effective.com.google.protobuf.TimestampOrBuilder
The time at which the changes in the topology transaction become effective.A valid synchronizer id.com.google.protobuf.ByteString
A valid synchronizer id.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Assigned by the server.com.google.protobuf.ByteString
Assigned by the server.boolean
The time at which the changes in the topology transaction become effective.boolean
Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUpdateId
String getUpdateId()Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Returns:
- The updateId.
-
getUpdateIdBytes
com.google.protobuf.ByteString getUpdateIdBytes()Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
string update_id = 1 [json_name = "updateId"];
- Returns:
- The bytes for updateId.
-
getOffset
long getOffset()The absolute offset. The details of this field are described in ``community/ledger-api/README.md``. Required, it is a valid absolute offset (positive integer).
int64 offset = 2 [json_name = "offset"];
- Returns:
- The offset.
-
getSynchronizerId
String getSynchronizerId()A valid synchronizer id. Identifies the synchronizer that synchronized the topology transaction. Required
string synchronizer_id = 3 [json_name = "synchronizerId"];
- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
com.google.protobuf.ByteString getSynchronizerIdBytes()A valid synchronizer id. Identifies the synchronizer that synchronized the topology transaction. Required
string synchronizer_id = 3 [json_name = "synchronizerId"];
- Returns:
- The bytes for synchronizerId.
-
hasRecordTime
boolean hasRecordTime()The time at which the changes in the topology transaction become effective. There is a small delay between a topology transaction being sequenced and the changes it contains becoming effective. Topology transactions appear in order relative to a synchronizer based on their effective time rather than their sequencing time. Required
.google.protobuf.Timestamp record_time = 4 [json_name = "recordTime"];
- Returns:
- Whether the recordTime field is set.
-
getRecordTime
com.google.protobuf.Timestamp getRecordTime()The time at which the changes in the topology transaction become effective. There is a small delay between a topology transaction being sequenced and the changes it contains becoming effective. Topology transactions appear in order relative to a synchronizer based on their effective time rather than their sequencing time. Required
.google.protobuf.Timestamp record_time = 4 [json_name = "recordTime"];
- Returns:
- The recordTime.
-
getRecordTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRecordTimeOrBuilder()The time at which the changes in the topology transaction become effective. There is a small delay between a topology transaction being sequenced and the changes it contains becoming effective. Topology transactions appear in order relative to a synchronizer based on their effective time rather than their sequencing time. Required
.google.protobuf.Timestamp record_time = 4 [json_name = "recordTime"];
-
getEventsList
List<TopologyTransactionOuterClass.TopologyEvent> getEventsList()A non-empty list of topology events. Required
repeated .com.daml.ledger.api.v2.TopologyEvent events = 5 [json_name = "events"];
-
getEvents
A non-empty list of topology events. Required
repeated .com.daml.ledger.api.v2.TopologyEvent events = 5 [json_name = "events"];
-
getEventsCount
int getEventsCount()A non-empty list of topology events. Required
repeated .com.daml.ledger.api.v2.TopologyEvent events = 5 [json_name = "events"];
-
getEventsOrBuilderList
List<? extends TopologyTransactionOuterClass.TopologyEventOrBuilder> getEventsOrBuilderList()A non-empty list of topology events. Required
repeated .com.daml.ledger.api.v2.TopologyEvent events = 5 [json_name = "events"];
-
getEventsOrBuilder
A non-empty list of topology events. Required
repeated .com.daml.ledger.api.v2.TopologyEvent events = 5 [json_name = "events"];
-
hasTraceContext
boolean hasTraceContext()Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"];
- Returns:
- Whether the traceContext field is set.
-
getTraceContext
TraceContextOuterClass.TraceContext getTraceContext()Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"];
- Returns:
- The traceContext.
-
getTraceContextOrBuilder
TraceContextOuterClass.TraceContextOrBuilder getTraceContextOrBuilder()Optional; ledger API trace context The trace context transported in this message corresponds to the trace context supplied by the client application in a HTTP2 header of the original command submission. We typically use a header to transfer this type of information. Here we use message body, because it is used in gRPC streams which do not support per message headers. This field will be populated with the trace context contained in the original submission. If that was not provided, a unique ledger-api-server generated trace context will be used instead.
.com.daml.ledger.api.v2.TraceContext trace_context = 6 [json_name = "traceContext"];
-