Package com.daml.ledger.api.v1.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCurrentTime()
MUST precisely match the current time as it's known to the ledger server.com.google.protobuf.TimestampOrBuilder
getCurrentTimeOrBuilder()
MUST precisely match the current time as it's known to the ledger server.java.lang.String
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteString
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.Timestamp
getNewTime()
The time the client wants to set on the ledger.com.google.protobuf.TimestampOrBuilder
getNewTimeOrBuilder()
The time the client wants to set on the ledger.boolean
hasCurrentTime()
MUST precisely match the current time as it's known to the ledger server.boolean
hasNewTime()
The time the client wants to set on the ledger.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLedgerId
java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- The ledgerId.
-
getLedgerIdBytes
com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- The bytes for ledgerId.
-
hasCurrentTime
boolean hasCurrentTime()
MUST precisely match the current time as it's known to the ledger server.
.google.protobuf.Timestamp current_time = 2 [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 = 2 [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 = 2 [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 = 3 [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 = 3 [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 = 3 [json_name = "newTime"];
-
-