ADD: added new version of protobuf
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// clang-format off
|
||||
// source: google/protobuf/timestamp.proto
|
||||
|
||||
#import "GPBDescriptor.h"
|
||||
@@ -95,6 +94,7 @@ typedef GPB_ENUM(GPBTimestamp_FieldNumber) {
|
||||
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
||||
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
||||
*
|
||||
*
|
||||
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
||||
*
|
||||
* Instant now = Instant.now();
|
||||
@@ -103,6 +103,7 @@ typedef GPB_ENUM(GPBTimestamp_FieldNumber) {
|
||||
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
||||
* .setNanos(now.getNano()).build();
|
||||
*
|
||||
*
|
||||
* Example 6: Compute Timestamp from current time in Python.
|
||||
*
|
||||
* timestamp = Timestamp()
|
||||
@@ -161,5 +162,3 @@ CF_EXTERN_C_END
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
|
||||
// clange-format on
|
||||
|
||||
Reference in New Issue
Block a user