"Sending Ping with id: {}, timestamp: {}", requestID, Timestamps.toString(request.getTimestamp()) );
@Override public void serialize( Timestamp timestamp, JsonGenerator generator, SerializerProvider serializerProvider ) throws IOException { generator.writeString(Timestamps.toString(timestamp)); } }
/** * Convert Timestamp to RFC 3339 date string format. The output will always * be Z-normalized and uses 3, 6 or 9 fractional digits as required to * represent the exact value. Note that Timestamp can only represent time * from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. See * https://www.ietf.org/rfc/rfc3339.txt * * <p>Example of generated format: "1972-01-01T10:00:20.021Z" * * @return The string representation of the given timestamp. * @throws IllegalArgumentException if the given timestamp is not in the * valid range. * @deprecated Use {@link Timestamps#toString} instead. */ @Deprecated public static String toString(Timestamp timestamp) { return Timestamps.toString(timestamp); }
/** Prints google.protobuf.Timestamp */ private void printTimestamp(MessageOrBuilder message) throws IOException { Timestamp value = Timestamp.parseFrom(toByteString(message)); generator.print("\"" + Timestamps.toString(value) + "\""); }
/** Prints google.protobuf.Timestamp */ private void printTimestamp(MessageOrBuilder message) throws IOException { Timestamp value = Timestamp.parseFrom(toByteString(message)); generator.print("\"" + Timestamps.toString(value) + "\""); }
/** Prints google.protobuf.Timestamp */ private void printTimestamp(MessageOrBuilder message) throws IOException { Timestamp value = Timestamp.parseFrom(toByteString(message)); generator.print("\"" + Timestamps.toString(value) + "\""); }
/** Prints google.protobuf.Timestamp */ private void printTimestamp(MessageOrBuilder message) throws IOException { Timestamp value = Timestamp.parseFrom(toByteString(message)); generator.print("\"" + Timestamps.toString(value) + "\""); }
"Sending Ping with id: {}, timestamp: {}", requestID, Timestamps.toString(request.getTimestamp()) );