Package com.daml.ledger.api.v2.admin
Interface CommandInspectionServiceOuterClass.CommandStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandInspectionServiceOuterClass.CommandStatus,CommandInspectionServiceOuterClass.CommandStatus.Builder
- Enclosing class:
CommandInspectionServiceOuterClass
public static interface CommandInspectionServiceOuterClass.CommandStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCommands(int index) The individual submitted commands Required: must be non-emptyintThe individual submitted commands Required: must be non-emptyThe individual submitted commands Required: must be non-emptygetCommandsOrBuilder(int index) The individual submitted commands Required: must be non-emptyList<? extends CommandsOuterClass.CommandOrBuilder> The individual submitted commands Required: must be non-emptycom.google.protobuf.TimestampTime at which the command was completed.com.google.protobuf.TimestampOrBuilderTime at which the command was completed.The completion associated with the command Contains only default values if the command is still pending OptionalThe completion associated with the command Contains only default values if the command is still pending OptionalStatistics about the command request OptionalStatistics about the command request Optionalcom.google.protobuf.TimestampTime at which the command was received for interpretation by the participant.com.google.protobuf.TimestampOrBuilderTime at which the command was received for interpretation by the participant.getState()The state of the command RequiredintThe state of the command RequiredSynchronizer-ID.com.google.protobuf.ByteStringSynchronizer-ID.getTimings(int index) Timings for the individual stages Optional: can be emptyintTimings for the individual stages Optional: can be emptyTimings for the individual stages Optional: can be emptygetTimingsOrBuilder(int index) Timings for the individual stages Optional: can be emptyTimings for the individual stages Optional: can be emptyThe ledger updates effected by the command OptionalThe ledger updates effected by the command OptionalbooleanTime at which the command was completed.booleanThe completion associated with the command Contains only default values if the command is still pending OptionalbooleanStatistics about the command request OptionalbooleanTime at which the command was received for interpretation by the participant.booleanThe ledger updates effected by the command OptionalMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStarted
boolean hasStarted()Time at which the command was received for interpretation by the participant. Required
.google.protobuf.Timestamp started = 1;- Returns:
- Whether the started field is set.
-
getStarted
com.google.protobuf.Timestamp getStarted()Time at which the command was received for interpretation by the participant. Required
.google.protobuf.Timestamp started = 1;- Returns:
- The started.
-
getStartedOrBuilder
com.google.protobuf.TimestampOrBuilder getStartedOrBuilder()Time at which the command was received for interpretation by the participant. Required
.google.protobuf.Timestamp started = 1; -
hasCompleted
boolean hasCompleted()Time at which the command was completed. Optional
.google.protobuf.Timestamp completed = 2;- Returns:
- Whether the completed field is set.
-
getCompleted
com.google.protobuf.Timestamp getCompleted()Time at which the command was completed. Optional
.google.protobuf.Timestamp completed = 2;- Returns:
- The completed.
-
getCompletedOrBuilder
com.google.protobuf.TimestampOrBuilder getCompletedOrBuilder()Time at which the command was completed. Optional
.google.protobuf.Timestamp completed = 2; -
hasCompletion
boolean hasCompletion()The completion associated with the command Contains only default values if the command is still pending Optional
.com.daml.ledger.api.v2.Completion completion = 3;- Returns:
- Whether the completion field is set.
-
getCompletion
CompletionOuterClass.Completion getCompletion()The completion associated with the command Contains only default values if the command is still pending Optional
.com.daml.ledger.api.v2.Completion completion = 3;- Returns:
- The completion.
-
getCompletionOrBuilder
CompletionOuterClass.CompletionOrBuilder getCompletionOrBuilder()The completion associated with the command Contains only default values if the command is still pending Optional
.com.daml.ledger.api.v2.Completion completion = 3; -
getStateValue
int getStateValue()The state of the command Required
.com.daml.ledger.api.v2.admin.CommandState state = 4;- Returns:
- The enum numeric value on the wire for state.
-
getState
The state of the command Required
.com.daml.ledger.api.v2.admin.CommandState state = 4;- Returns:
- The state.
-
getCommandsList
List<CommandsOuterClass.Command> getCommandsList()The individual submitted commands Required: must be non-empty
repeated .com.daml.ledger.api.v2.Command commands = 5; -
getCommands
The individual submitted commands Required: must be non-empty
repeated .com.daml.ledger.api.v2.Command commands = 5; -
getCommandsCount
int getCommandsCount()The individual submitted commands Required: must be non-empty
repeated .com.daml.ledger.api.v2.Command commands = 5; -
getCommandsOrBuilderList
List<? extends CommandsOuterClass.CommandOrBuilder> getCommandsOrBuilderList()The individual submitted commands Required: must be non-empty
repeated .com.daml.ledger.api.v2.Command commands = 5; -
getCommandsOrBuilder
The individual submitted commands Required: must be non-empty
repeated .com.daml.ledger.api.v2.Command commands = 5; -
hasRequestStatistics
boolean hasRequestStatistics()Statistics about the command request Optional
.com.daml.ledger.api.v2.admin.RequestStatistics request_statistics = 6;- Returns:
- Whether the requestStatistics field is set.
-
getRequestStatistics
CommandInspectionServiceOuterClass.RequestStatistics getRequestStatistics()Statistics about the command request Optional
.com.daml.ledger.api.v2.admin.RequestStatistics request_statistics = 6;- Returns:
- The requestStatistics.
-
getRequestStatisticsOrBuilder
CommandInspectionServiceOuterClass.RequestStatisticsOrBuilder getRequestStatisticsOrBuilder()Statistics about the command request Optional
.com.daml.ledger.api.v2.admin.RequestStatistics request_statistics = 6; -
hasUpdates
boolean hasUpdates()The ledger updates effected by the command Optional
.com.daml.ledger.api.v2.admin.CommandUpdates updates = 7;- Returns:
- Whether the updates field is set.
-
getUpdates
CommandInspectionServiceOuterClass.CommandUpdates getUpdates()The ledger updates effected by the command Optional
.com.daml.ledger.api.v2.admin.CommandUpdates updates = 7;- Returns:
- The updates.
-
getUpdatesOrBuilder
CommandInspectionServiceOuterClass.CommandUpdatesOrBuilder getUpdatesOrBuilder()The ledger updates effected by the command Optional
.com.daml.ledger.api.v2.admin.CommandUpdates updates = 7; -
getSynchronizerId
String getSynchronizerId()Synchronizer-ID. May be optional if the transaction was not yet routed. Optional
string synchronizer_id = 8;- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
com.google.protobuf.ByteString getSynchronizerIdBytes()Synchronizer-ID. May be optional if the transaction was not yet routed. Optional
string synchronizer_id = 8;- Returns:
- The bytes for synchronizerId.
-
getTimingsList
List<CommandInspectionServiceOuterClass.Timing> getTimingsList()Timings for the individual stages Optional: can be empty
repeated .com.daml.ledger.api.v2.admin.Timing timings = 9; -
getTimings
Timings for the individual stages Optional: can be empty
repeated .com.daml.ledger.api.v2.admin.Timing timings = 9; -
getTimingsCount
int getTimingsCount()Timings for the individual stages Optional: can be empty
repeated .com.daml.ledger.api.v2.admin.Timing timings = 9; -
getTimingsOrBuilderList
List<? extends CommandInspectionServiceOuterClass.TimingOrBuilder> getTimingsOrBuilderList()Timings for the individual stages Optional: can be empty
repeated .com.daml.ledger.api.v2.admin.Timing timings = 9; -
getTimingsOrBuilder
Timings for the individual stages Optional: can be empty
repeated .com.daml.ledger.api.v2.admin.Timing timings = 9;
-