public com.google.protobuf.Timestamp buildPartial() { com.google.protobuf.Timestamp result = new com.google.protobuf.Timestamp(this); result.seconds_ = seconds_; result.nanos_ = nanos_; onBuilt(); return result; }
public com.google.protobuf.Timestamp build() { com.google.protobuf.Timestamp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(com.google.protobuf.Timestamp other) { if (other == com.google.protobuf.Timestamp.getDefaultInstance()) return this; if (other.getSeconds() != 0L) { setSeconds(other.getSeconds()); } if (other.getNanos() != 0) { setNanos(other.getNanos()); } onChanged(); return this; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.Timestamp)) { return super.equals(obj); } com.google.protobuf.Timestamp other = (com.google.protobuf.Timestamp) obj; boolean result = true; result = result && (getSeconds() == other.getSeconds()); result = result && (getNanos() == other.getNanos()); return result; }
public com.google.protobuf.Timestamp getDefaultInstanceForType() { return com.google.protobuf.Timestamp.getDefaultInstance(); }