public void MergeFrom(WallPost other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::ExchangeOGram.WallPostId(); } Id.MergeFrom(other.Id); } if (other.Username.Length != 0) { Username = other.Username; } if (other.Caption.Length != 0) { Caption = other.Caption; } if (other.TimestampCreated != 0L) { TimestampCreated = other.TimestampCreated; } }
public void MergeFrom(PostToWallResponse other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::ExchangeOGram.WallPostId(); } Id.MergeFrom(other.Id); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::ExchangeOGram.WallPostId(); } input.ReadMessage(id_); break; } case 18: { Username = input.ReadString(); break; } case 26: { Caption = input.ReadString(); break; } case 32: { TimestampCreated = input.ReadInt64(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::ExchangeOGram.WallPostId(); } input.ReadMessage(id_); break; } } } }