Package com.daml.ledger.api.v1.testing
Interface TimeServiceOuterClass.GetTimeResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeServiceOuterClass.GetTimeResponse
,TimeServiceOuterClass.GetTimeResponse.Builder
- Enclosing class:
- TimeServiceOuterClass
public static interface TimeServiceOuterClass.GetTimeResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCurrentTime()
The current time according to the ledger server.com.google.protobuf.TimestampOrBuilder
getCurrentTimeOrBuilder()
The current time according to the ledger server.boolean
hasCurrentTime()
The current time according to the ledger server.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCurrentTime
boolean hasCurrentTime()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
- Returns:
- Whether the currentTime field is set.
-
getCurrentTime
com.google.protobuf.Timestamp getCurrentTime()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
- Returns:
- The currentTime.
-
getCurrentTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()
The current time according to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
-