public static interface TimeServiceOuterClass.SetTimeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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``). Required
string ledger_id = 1[json_name = "ledgerId"];
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``). Required
string ledger_id = 1[json_name = "ledgerId"];
boolean hasCurrentTime()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
com.google.protobuf.Timestamp getCurrentTime()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()
MUST precisely match the current time as it's known to the ledger server. On mismatch, an ``INVALID_PARAMETER`` gRPC error will be returned.
.google.protobuf.Timestamp current_time = 2[json_name = "currentTime"];
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"];
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"];
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"];