Package com.daml.ledger.api.v2.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
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
The current time according to the ledger server.com.google.protobuf.TimestampOrBuilder
The current time according to the ledger server.boolean
The current time according to the ledger server.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
-
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"];
-