Package com.daml.ledger.api.v2.testing
Interface TimeServiceOuterClass.SetTimeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeServiceOuterClass.SetTimeRequest
,TimeServiceOuterClass.SetTimeRequest.Builder
- Enclosing class:
- TimeServiceOuterClass
public static interface TimeServiceOuterClass.SetTimeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
MUST precisely match the current time as it's known to the ledger server.com.google.protobuf.TimestampOrBuilder
MUST precisely match the current time as it's known to the ledger server.com.google.protobuf.Timestamp
The time the client wants to set on the ledger.com.google.protobuf.TimestampOrBuilder
The time the client wants to set on the ledger.boolean
MUST precisely match the current time as it's known to the ledger server.boolean
The time the client wants to set on the ledger.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()MUST precisely match the current time as it's known 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()MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
- Returns:
- The currentTime.
-
getCurrentTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 1 [json_name = "currentTime"];
-
hasNewTime
boolean hasNewTime()The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 2 [json_name = "newTime"];
- Returns:
- Whether the newTime field is set.
-
getNewTime
com.google.protobuf.Timestamp getNewTime()The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 2 [json_name = "newTime"];
- Returns:
- The newTime.
-
getNewTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNewTimeOrBuilder()The time the client wants to set on the ledger. MUST be a point int time after ``current_time``.
.google.protobuf.Timestamp new_time = 2 [json_name = "newTime"];
-